package demo.spring.remote.client;

import demo.spring.remote.server.AccountService;

import java.util.List;

/**
 * Created by lushun.chen on 2017/3/25.
 *
 * @author lushun.chen
 */
public class SimpleObject {

    private AccountService accountService;

    public void setAccountService(AccountService accountService) {
        this.accountService = accountService;
    }


    public List demo(String name){
        return accountService.getAccounts(name);
    }

}
